<%-- 
    Document   : newjsp
    Created on : 2014-8-11, 22:45:20
    Author     : liujh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        ${1+3}
        ${index.greetings}        
        <ul>
            <c:forEach var="message" items="${index.greetings}">
                <li><c:out value="${message.title}"/> - <c:out value="${message.content}"/></li>
            </c:forEach>
            <c:import url="index.html"/>
        </ul>
    </body>
</html>
